<template>
    <div>
      <div v-show="$route.meta.showfater">
        饼状图
        <button @click="golink()">点击去到子路由</button></div>
       <router-view></router-view>
    </div>
 </template>
 <script>
 export default {
    name: 'echartsBz',
    data() {
      return {
        
      }
    },
    mounted(){
    },
    methods: {
      golink(){
        const item = {
          menuid: 21,
          icon: 'el-icon-user-solid',
          menuname: '饼状图子页面',
          url: "/EchartsBz/EchartsBzs",
        }
        this.$store.commit('SetMenu',item)
        this.$router.push(item.url)
      }
    }
 };
 </script>
 <style lang='' scoped>
 </style>